package com.zzh.StudentManagementSystem;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student1 {
    private String id;
    private String name;
    private int age;
    private String address;

    @Override
    public String toString() {
        return "学号: " + id + "\t姓名: " + name + "\t年龄: " + age + "岁" + "\t地址: " + address;
    }
}


